package net.sx.minemodule.mvp.item;

import com.kedll.library.mvp.BaseItem;

import net.sx.minemodule.R;
import net.sx.minemodule.mvp.model.HistoryCommissionModel;

/**
 * 历史提成item
 */
public class HistoryCommissionItem extends BaseItem<HistoryCommissionModel> {

    public HistoryCommissionItem(HistoryCommissionModel data) {
        super(data);
    }

    @Override
    public int getLayout() {
        return R.layout.mine_item_history_commission;
    }

    public String getHistoryTime() {
        return getData().getHistoryTime();     //时间段
    }

    public String getTotalRoyalty(){
        return getData().getTotalRoyalty();    //每日/月提成
    }
}
